package yf.mall.service;

import yf.mall.entity.ArticleEntity;
import yf.mall.vo.ArticleVo;
import com.yf.service.BaseService;
import java.io.InputStream;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

import org.springframework.web.multipart.MultipartFile;

/**
 * 文章Service接口
 *
 *
 *
 * @date Wed Aug 02 10:54:31 CST 2023
 */
public interface ArticleService extends BaseService<ArticleEntity> {

    /************自动生成**************/
    List<ArticleVo> findVo(ArticleVo vo);

        ArticleVo getVo(Long id);

     int updateVo(ArticleVo vo);

       int saveVo(ArticleVo vo);

    void downLoad(HttpServletResponse response, List<ArticleVo> list);

    void upload(InputStream file);



    /***********BACK***********/




    /***********API***********/
    List<ArticleEntity> findByTypeAndStatus(int type, int status);

}
